<!DOCTYPE html>
<div id="bug" style="width:300px; height:200px; overflow:scroll;">
    <div style="width:100px; height:1010px; background:green;"></div>
</div>
<script>
    document.getElementById("bug").scrollTop = 300;
</script>
